
import pymongo

def main():
    conn = pymongo.MongoClient('mongo.mirror.zdiai.net', 3717, username="zdiai",
                               password="", authSource="Repo_history", authMechanism="SCRAM-SHA-1")
    USER_MONGO = conn["Repo_history"]
    print(USER_MONGO.list_collection_names())

if __name__ == '__main__':
    main()

